
<%@ page import="cn.gudian.cms.News.Article" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <title><g:message code="article.show" default="Show Article" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLinkTo(dir: '')}"><g:message code="home" default="Home" /></a></span>
            <span class="menuButton"><a href="/article/list?mode=${mode}"><g:message code="article.list" default="Article List" /></a></span>
            <span class="menuButton"><a href="/article/create?mode=${mode}"><g:message code="article.new" default="New Article" /></a></span>
        </div>
        <div class="body">
            <h1><g:message code="article.show" default="Show Article" /></h1>
            <g:if test="${flash.message}">
            <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
            </g:if>
            <g:form>
                <g:hiddenField name="id" value="${articleInstance?.id}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.id" default="Id" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "id")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.arcType" default="Arc Type" />:</td>
                                
                                <td valign="top" class="value"><g:link controller="arcType" action="show" id="${articleInstance?.arcType?.id}">${articleInstance?.arcType?.encodeAsHTML()}</g:link></td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.title" default="Title" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "title")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.shorttitle" default="Shorttitle" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "shorttitle")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.writer" default="Writer" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "writer")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.orderNum" default="Order Num" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "orderNum")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.ismake" default="Ismake" />:</td>
                                
                                <td valign="top" class="value"><g:formatBoolean boolean="${articleInstance?.ismake}" /></td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.thumbnails" default="Thumbnails" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "thumbnails")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.pubdate" default="Pubdate" />:</td>
                                
                                <td valign="top" class="value"><g:formatDate date="${articleInstance?.pubdate}" /></td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.adddate" default="Adddate" />:</td>
                                
                                <td valign="top" class="value"><g:formatDate date="${articleInstance?.adddate}" /></td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.keywords" default="Keywords" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "keywords")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.ispost" default="Ispost" />:</td>
                                
                                <td valign="top" class="value"><g:formatBoolean boolean="${articleInstance?.ispost}" /></td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.userip" default="Userip" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "userip")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.description" default="Description" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "description")}</td>
                                
                            </tr>
                            
                            <tr class="prop">
                                <td valign="top" class="name"><g:message code="article.body" default="Body" />:</td>
                                
                                <td valign="top" class="value">${fieldValue(bean: articleInstance, field: "body")}</td>
                                
                            </tr>
                            
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'edit', 'default': 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'delete', 'default': 'Delete')}" onclick="return confirm('${message(code: 'delete.confirm', 'default': 'Are you sure?')}');" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
